<h2> Edit Question </h2>
<% if @fail %>
  <div id="error_explanation">
    <h2><%= pluralize(@fail.length, "error") %> prohibited this quiz from being saved:</h2>
    <ul>
      <% @fail.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
    </ul>

  </div>
<% end %>
<%= form_tag(:action => :savequizinfo,:quiz_id => @quiz.id) do %>
<fieldset>
<legend>Create New Question</legend>
<div>
<label for="title" >Title:</label>
<%= text_field_tag :title, @quiz.title %>
</div>

<div>
<label for="body" >Description:</label>
<%= text_field_tag :description, @quiz.description %>
</div>

<div>
  <label for="scoring" >Scoring System:</label>
 <%= text_area_tag :scoring, @quiz.scoring %>
</div>

<div>
  <label for="survey" >Check for Survey:</label>
 <%= check_box_tag :survey, "pie" , ! @quiz.isquiz%>
</div>



<div>
<%= submit_tag "Submit" %>
</div>

</fieldset>
<% end %>